<?php
/**
 *	@package WordPress
 *	@subpackage Carbon_Paper
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://gmpg.org/xfn/11">
	<title>
	<?php 
	switch (true){
	case is_tag(): echo 'Posts tagged &quot;'.$tag.'&quot; - '; 					break; 
	case is_archive(): wp_title(''); echo ' Archive - '; 							break;
	case is_search(): echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; 	break; 
	case (!(is_404()) && (is_single()) || (is_page())): wp_title(''); echo ' - '; 	break;
	case is_404(): echo 'Not Found - '; 											break;
	} 
	bloginfo('name'); 
	?>
	</title>

	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />

	<link rel="shortcut icon" href="<?php echo get_option('siteurl')?>/favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
 	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/main.css"/> 
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/nav.css"/>
 	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/editor.css"/>
	<!--[if lte IE 7]>
	<link rel='stylesheet' id='ie-css' href='<?php bloginfo('template_url'); ?>/css/ie-all.css' type='text/css' media='all' />
	<![endif]-->
	<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
	<?php wp_head(); ?>

</head>
<body>
	<?php
	//echo var_dump(get_breadcrumb());
	switch (true){
	case is_single(): echo '<div id="articles">'; 						break; 
	case is_category(): echo '<div id="category">'; 					break;
	case is_page('a-propos'): echo '<div id="about">'; 					break;
	case is_page('archives'): echo '<div id="archives">'; 				break;
	case is_page('selection') || is_tax(): echo '<div id="home">'; 			break;
	case is_page('le-grand-mix'): echo '<div id="home">';		 		break;
	case is_page('cinemat-cuts'): echo '<div id="home">'; 				break;
	case is_page('creation'): echo '<div id="home">'; 					break;
	default: echo '<div id="home">'; 									break;
	}
	?>

<?php get_template_part('header','strip'); ?>	
<?php get_template_part('nav','strip'); ?>